// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Item {
    id: calendarDate
    width: 24
    height: 24

    property int d: day
    property int m: month

    Rectangle {
        anchors.fill: parent
        anchors.margins: 1
        color: calendarDate.GridView.isCurrentItem ? "lightsteelblue" : "white"
        Text {
            x: 2
            y: 2
            text: day
            font.pixelSize: 14
            color: month === monthCalendarModel.month ? (dayOfWeek === 7 ? "pink" : "black") : "gray"
        }
        border.width: 1
        border.color: "lightgray"

    }
}
